﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ObTookit.Model;

namespace ObTookit.Init
{
    public class SentenceBL
    {
        #region Select
        public SQLSentenceEO GetSql(string name)
        {
            SentenceDA da = new SentenceDA();
            return da.SelectByName(name);
        }

        public List<SQLSentenceEO> GetSqls()
        {
            SentenceDA da = new SentenceDA();
            return da.SelectList(1);
        }
        #endregion
    }
}
